package dto

// TransactionQueryRequest form用于Get请求的查询参数或者Post的表单提交
type TransactionQueryRequest struct {
	AccountNo string `json:"account_number"`
	Page      int    `form:"page,default=1"`
	PageSize  int    `form:"page_size,default=20"`
}

type DepositRequest struct {
	AccountNo string  `json:"account_number"`
	Amount    float64 `json:"amount"`
}

type DepositResponse struct {
	ID         string  `json:"id"`
	Type       string  `json:"type"`
	Amount     float64 `json:"amount"`
	OperatorId string  `json:"operator_id"`
	Remark     string  `json:"remark"`
	CreatedAt  string  `json:"created_time"`
}

type WithdrawRequest struct {
	AccountNo string  `json:"account_number"`
	Amount    float64 `json:"amount"`
}

type TransferRequest struct {
}
